﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace MvcApplication1.Models
{
    public class BookList
    {
        private List<Book> _books = new List<Book>();

        public int BookListId { get; set; }

        [Required]
        public string UserId { get; set; }

        public virtual List<Book> Books
        {
            get { return _books; }
            set { _books = value; }
        }
    }
}